<!--<?php
print <<<EOT
-->

<td valign="top">
<table width="100%"  border="0" cellspacing="10" cellpadding="0">
<tr>
<td align="left" valign="top">


<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" valign="top" class="ytitle">Promoter Account</td>
  </tr>
  <tr>
    <td align="left" valign="top" >{$promoter_menu_str}</td>
  </tr>
  <tr>
    <td align="left" valign="top">&nbsp;</td>
  </tr>
  
  <tr>
    <td align="left" valign="top"><table width="100%"  border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td width="31%" height="25" align="left" class="title03">Sales Transactions</td>
        </tr>
        <tr>
          <td><table width="100%"  border="0" cellspacing="1" cellpadding="5">
              <tr align="center" bgcolor="#b5c3d6">
                <td bgcolor="#b5c3d6" class="white8">Tracking No.</td>
                <td bgcolor="#b5c3d6" class="white8">Sales Date</td>
                <td bgcolor="#b5c3d6" class="white8">Customer Sales</td>
                <td bgcolor="#b5c3d6" class="white8">Amount</td>
                <td bgcolor="#b5c3d6" class="white8">Commission</td>
                <td bgcolor="#b5c3d6" class="white8">Paid ?</td>
              </tr>
              
<!--
EOT;
foreach ($comminssion_ary as $k=>$v) {
    $sd = date('Y-m-d', $v['date']);
    $p = $v['status'] == 1 ? 'Yes' : 'No';
print <<<EOT
-->     
              
              <tr align="center" bgcolor="#e0e7ee">
                <td bgcolor="#e0e7ee" >{$v['order_id']}</td>
                <td bgcolor="#e0e7ee" >{$sd}</td>
                <td bgcolor="#e0e7ee" >{$v['firstname']}&nbsp;{$v['lastname']}</td>
                <td bgcolor="#e0e7ee" >DKK {$v['cost']}</td>
                <td bgcolor="#e0e7ee" >DKK {$v['commission']}</td>
                <td bgcolor="#e0e7ee" >{$p}</td>
              </tr>              
              
<!--
EOT;
}
print <<<EOT
-->                
        <tr {$strshow}>
          <td colspan="6" height="25" align="left" class="title03" nowrap="nowrap">{$show_page}</td>
        </tr>              
            </table></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td width="33%">&nbsp;</td>
          <td width="67%">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >Accumulated Sales Amount :</td>
          <td align="left" valign="top" >DKK {$asa}</td>
        </tr>
        <tr>
          <td align="left" valign="top" >&nbsp;</td>
          <td align="left" valign="top" >&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >Accumulated Commission :</td>
          <td align="left" valign="top" >DKK {$ac}</td>
        </tr>
        <tr>
          <td align="left" valign="top" >&nbsp;</td>
          <td align="left" valign="top" >&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >Commission Paid :</td>
          <td align="left" valign="top" >DKK {$cp}</td>
        </tr>
        <tr>
          <td align="left" valign="top" >&nbsp;</td>
          <td align="left" valign="top" >&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" >Commission Outstanding :</td>
          <td align="left" valign="top" >DKK {$co}</td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="90" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td align="left" valign="top" bgcolor="#B5C3D6"><table width="100%"  border="0" cellspacing="5" cellpadding="0">
              <tr>
                <td align="left" valign="top"><span class="whitefonti">When 
                  you choose to receive products and/or 
                  courses/training with Acuity World for 
                  commission, we double your commission.</span>
                  <p><a href="index.php"><span class="whitefont"><strong>Click</strong></span></a> <span class="whitefonti">to order 
                    training/products for accumulated 
                    commission</span></p></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  

</table>



</td>
</tr>
</table>
</td>

<!--
EOT;
?>-->